#ifndef PLAYER_H
#define PLAYER_H

#include <stdlib.h>
#include "CardDataClass.h"
#include "CardDataParser.h"
#include "dxManager.h"

class Player
{
private:
	CardData* deckCards[12];
	CardData* handCards[6];
	CardData* fieldCards[7];
	bool firstTurn;

public:
	Player();
	~Player();

	void InitDeck(char* fileName, dxManager* dxMgr);
	void SuffleDeck();
	void DrawCardsFromDeckToHand();
	CardData* ShowLastCardInDeck();

	void DiscardHandCards(int number);
	void SwapHandAndField(int handNum, int fieldNum);
	bool HasHandCard(int number);
	bool HasFieldCard(int number);
	CardData* ShowHandCard(int number);
	CardData* ShowFieldCard(int number);
};

#endif